<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="content-type" content="text/html; charset=utf-8" />
    <title>${message("admin.main.title")}</title>
    <link href="${base}/resources/admin/css/common.css" rel="stylesheet" type="text/css" />
    <link href="${base}/resources/admin/css/main.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript" src="${base}/resources/admin/js/jquery.js"></script>
    <style type="text/css">
        *{
            font: 12px tahoma, Arial, Verdana, sans-serif;
        }
        html, body {
            width: 100%;
            height: 100%;
            overflow: hidden;
        }
    </style>
    <script type="text/javascript">
        $().ready(function() {

            var $nav = $("#nav a");
            var $menu = $("#menu dl");
            var $menuItem = $("#menu a");
            var $iframe = $("#iframe");

            $nav.click(function() {
                var $this = $(this);
                $nav.removeClass("current");
                $this.addClass("current");
                var $currentMenu = $($this.attr("href"));
                $menu.hide();
                $currentMenu.show();
                $currentMenu.children().eq(0).children('a').trigger('click');
                return false;
            });

            $menuItem.click(function() {
                var $this = $(this);
                var address = $this.attr("href");
                $iframe.attr("src",address);
                $menuItem.removeClass("current");
                $this.addClass("current");
                return false;
            });

        });
    </script>
</head>
<body>
<script type="text/javascript">
    if (self != top) {
        top.location = self.location;
    };
</script>
<table class="main">
    <tr>
        <th class="logo">
            <a href="/admin/index">
            </a>
        </th>
        <th class="shop_nav">
            <h3>温州市民卡APP管理平台</h3>
            <div id="nav" class="nav">
                <ul>
                    <li class="shop_home">
                        <span></span>
                        <a href="${base}/admin/main" target="iframe" class="current">${message("admin.main.home")}</a>
                    </li>

                    <li >
                        <a href="#order">${message("admin.main.orderNav")}</a>
                    </li>
                    <li>
                        <a href="#content">内容</a>
                    </li>
                    <li>
                        <a href="#system">${message("admin.main.systemNav")}</a>
                    </li>

                </ul>
            </div>
            <div class="link">
                <strong>${cUser.name}</strong>
			${message("admin.main.hello")}!
                <a href="${base}/admin/supplier/edit" target="iframe">[${message("admin.main.profile")}]</a>
                <a href="${base}/admin/authc/loginOut" target="_top">[${message("admin.main.logout")}]</a>
            </div>
        </th>
    </tr>
    <tr>
        <td id="menu" class="menu">

            <dl id="order" class="default">
                <!--<dt>${message("admin.main.orderGroup")}</dt>-->
                <dd>
                    <a href="${base}/smk/recharge/list" target="iframe">${message("admin.main.payment")}</a>
                </dd>
                <dd>
                    <a href="${base}/smk/refund/list" target="iframe">${message("admin.main.refunds")}</a>
                </dd>
            </dl>

            <dl id="content">
                <!--<dt>客户管理</dt>-->
                <dd>
                    <a href="${base}/smk/news/list" target="iframe">新闻管理</a>
                </dd>
                <dd>
                    <a href="${base}/smk/banner/list" target="iframe">轮播图</a>
                </dd>
                <dd>
                    <a href="${base}/smk/ad/list" target="iframe">广告管理</a>
                </dd>
                <dd>
                    <a href="${base}/smk/sms/list" target="iframe">消息管理</a>
                </dd>
            </dl>

            <dl id="system">
                <!--<dt>${message("admin.main.systemGroup")}</dt>-->
                <dd>
                    <a href="${base}/smk/app_user/list" target="iframe">App用户</a>
                </dd>
                <dd>
                    <a href="${base}/admin/user/list" target="iframe">管理员</a>
                </dd>
                <dd>
                    <a href="${base}/admin/office/list" target="iframe">部门管理</a>
                </dd>
                <dd>
                    <a href="${base}/admin/androidType/list" target="iframe">NFC机型管理</a>
                </dd>
            </dl>
        </td>
        <td>
            <iframe id="iframe" name="iframe" src="${base}/admin/main" frameborder="0"></iframe>
        </td>
    </tr>
</table>
</body>
</html>